package com.woniuxy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Menu {
    // 父菜单的属性
    private Integer parentId1;
    private Integer id;
    private String name;
    private String link;
    private Integer parentId;
    private Integer status;
    private String icon;

    //子菜单的集合
    private List<Menu> childrenMenu;// 存放子菜单集合
}
